package com.yylany.mapper;

import com.yylany.bo.Specification;
import com.yylany.pojo.TbSpecification;
import com.yylany.utils.MyMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Description: web-parent
 *
 * @author <a href="mailto:17777502615@163.com">yaoyonglong</a>
 * @date 2018/12/17
 * @since 1.0.0
 */
public interface TbSpecificationMapper extends MyMapper<TbSpecification> {


    /**
     * 根据CategoryId 查询当前分类下所有的 属性
     *
     * @param id CategoryId
     * @return 前分类的属性集合
     */
    List<Specification> findAllByCategoryId(@Param("id") Integer id);


}